dict01 = {'张三丰': 101, '张无忌': 102, '赵敏': 101}

iterator = dict01.__iter__()
while True:
    try:
        key = iterator.__next__()
        print(key, dict01[key])
    except:
        break
